<h3>Listing all shelves owned by {{ username }}</h3>
<p><img src="{{ gravatar }}"></p>
<p>Number of shelves: {{ shelf_count }}</p>
{% if shelves %}
<p>
<table class="meta" width="100%">
	
	<colgroup>
		<col /> 
    	<col class="oce-first" /> 
    </colgroup>
    
	<thead>
		<tr>
			<th><!-- checkbox --></th>
			<th><a href="/shelf/list/name">Name</a></td>
			<th><a href="/shelf/list/date">Date Created</a></th>
			<th>Options</th>
		</tr>
	</thead>
	<tbody>
		{% for shelf in shelves %}
		<tr>
			<td><input type="checkbox" name="{{ shelf.key }}" /></td>
			<td><a href="/shelf/{{ shelf.key }}">{{ shelf.name }}</a></td>
			<td>{{ shelf.created }}</td>
			<td>
				<a href="/shelf/{{ shelf.key }}/delete" title="Delete {{ shelf.name }}" alt="Delete {{ shelf.name }}"><img border="0" src="/images/gui/icons/mini-trash.png" /></a>
				<a href="/shelf/{{ shelf.key }}/edit" title="Edit {{ shelf.name }}" alt="Edit {{ shelf.name }}"><img border="0" src="/images/gui/icons/mini-edit.png" /></a>
			</td>
		</tr>
		{% endfor %}
	</tbody>
</table>
</p>
{% else %}
<p>Sorry, you haven't added any shelves yet. Want to <a	href="/shelf/add">create one</a>?</p>
{% endif %}

<p><a href="/shelf/add"><img border="0"	src="/images/gui/create.png" /></a></p>